import { ResearchState } from "../research.service";

/**
 * Company Model
 *
 * Author: Spiru Sorin
 * Created: 19 Feb 2018
 */
export class CompanyModel {
    public id: string;
    public companyName: string;
    public companyNameUrlFriendly: string;
    public ticker: string;
    public exchangeCode: string;
    public tickerAndExchange: string;
    public country: string;
    public peerGroup: string;
    public subPeerGroup: string;
    public address: string;
    public totalEmployees?: number;
    public companyPhone: string;
    public website: string;
    public businessDescription: string;
    public isCoverageEntity: boolean;
    public companyResearched: string;
    public coverageId: string;

    public comprehensiveEsgResearchState: ResearchState;
    public coreEsgResearchState: ResearchState;
    public coreRiskResearchState: ResearchState;
    public riskRatingResearchState: ResearchState;
    public sustainableProductsResearchState: ResearchState;
    public productInvolvementResearchState: ResearchState;
    public gccsResearchState: ResearchState;
    public corporateGovernanceResearchState: ResearchState;
    public controversyResearchState: ResearchState;

    public hasEsgAccountFeature: boolean;
    public hasRiskRatingAccountFeature: boolean;
    public hasPIAccountFeature: boolean;
    public hasSPAccountFeature: boolean;
    public hasControversiesAccountFeature: boolean;
    public hasGovernanceAccountFeature: boolean;
    public hasGCCSAccountFeature: boolean;
    public isEnabled: boolean;
    public hasProductInvolvementIndicators: boolean;
    public hasSustainableProductIndicators: boolean;
}